package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Customer;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CustomerService {

    void insert(Customer record);


    void  updateByPrimaryKey(Customer record);

    Customer selectByPrimaryKey(Long id);

    List<Customer> selectAll();

    PageInfo<Customer> query(QueryObject qo);


}
